package com.bana.fvs.app.module.switches.entity;

import com.bana.fvs.app.base.BaseBean;
import com.bana.fvs.app.base.PageBaseParams;

/**
 * Author : yanftch
 * Date : 2018/2/21
 * Time : 16:34
 * Desc :
 */

public class SwitchBean extends PageBaseParams implements BaseBean{
    private String switchName;
    private String switchCode;
    private boolean isChoosed;
    private int model;

    public int getModel() {
        return model;
    }

    public SwitchBean setModel(int model) {
        this.model = model;
        return this;
    }

    public SwitchBean() {
    }

    public SwitchBean(String switchName, String switchCode, boolean isChoosed) {
        this.switchName = switchName;
        this.switchCode = switchCode;
        this.isChoosed = isChoosed;
    }

    public SwitchBean(String switchName, String switchCode, boolean isChoosed, int model) {
        this.switchName = switchName;
        this.switchCode = switchCode;
        this.isChoosed = isChoosed;
        this.model = model;
    }

    @Override
    public String toString() {
        return "SwitchBean{" +
                "switchName='" + switchName + '\'' +
                ", switchCode='" + switchCode + '\'' +
                ", isChoosed=" + isChoosed +
                ", model=" + model +
                '}';
    }

    public String getSwitchName() {
        return switchName;
    }

    public SwitchBean setSwitchName(String switchName) {
        this.switchName = switchName;
        return this;
    }

    public String getSwitchCode() {
        return switchCode;
    }

    public SwitchBean setSwitchCode(String switchCode) {
        this.switchCode = switchCode;
        return this;
    }

    public boolean isChoosed() {
        return isChoosed;
    }

    public SwitchBean setChoosed(boolean choosed) {
        isChoosed = choosed;
        return this;
    }
}
